<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/bootstrap/css/bootstrap-theme.min.css">
<script src="${pageContext.request.contextPath}/js/jquery-1.11.1.js"></script>
<script
	src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript">
	
	
</script>
<title>管理员界面</title>
</head>
<body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="Javascript: void(0)"><strong
				class="h3">管理员界面</strong></a>
		</div>

		<div class="collapse navbar-collapse"
			id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<li><a href="AdminServlet?method=getCustomInfoList"
					id="showinfoList"><i class="glyphicon glyphicon-list">&nbsp;</i>显示全部记录</a></li>
				<li><a href="AdminServlet?method=getStartInfoList"><i
						class="glyphicon glyphicon-ok">&nbsp;</i>已启动</a></li>
				<li><a href="AdminServlet?method=getnonStartInfoList"><i
						class="glyphicon glyphicon-remove"></i>&nbsp;未启动</a></li>
			</ul>
			<form name="myForm" class="navbar-form pull-right" method="post"
				action="">
				&nbsp;&nbsp;&nbsp;&nbsp; <input class="span2" id="s_title"
					name="s_title" type="text" style="margin-top: 5px; height: 30px;"
					placeholder="输入用户名...">
				<button type="submit" class="btn"
					onkeydown="if(event.keyCode==13) myForm.submit()">
					<i class="icon-search"></i>&nbsp;搜索
				</button>
			</form>
		</div>
	</div>
	</nav>
	<div class="container"
		style="position: relative; top: 100px; left: 100px">
		<c:if test="${! empty mainPage }">
			<div class="row-fluid">
				<div class="col-lg-11">
					<jsp:include page="${mainPage }"></jsp:include>
				</div>

			</div>
		</c:if>
	</div>
	<c:if test="${empty mainPage }">
		<script type="text/javascript">
			document.getElementById("showinfoList").click();
		</script>
	</c:if>
</body>
</html>